Skip to content

Remove imgui_impl_opengl3 from polyscope.cpp#342

Merged
nmwsharp merged 1 commit intonmwsharp:masterfrom
phaedon:smallbuildfix
Jul 19, 2025
Merged

Remove imgui_impl_opengl3 from polyscope.cpp#342
nmwsharp merged 1 commit intonmwsharp:masterfrom
phaedon:smallbuildfix

Conversation

@phaedon
Copy link
Contributor

@phaedon phaedon commented May 22, 2025

This should cause a bug when building unit tests, since they don't rely on the opengl backend (due to POLYSCOPE_BACKEND_OPENGL_MOCK_ENABLED) and therefore shouldn't link to this particular imgui backend.

I'm not sure why cmake permits this, but this causes the build to break when using Bazel (which is the correct behaviour).

@nmwsharp
Copy link
Owner

Thanks for this. I'm not sure what that is doing there, but agreed it doesn't make sense.

@nmwsharp nmwsharp merged commit 0565a32 into nmwsharp:master Jul 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants